.class Lcom/example/m6wmr/MarketshowActivity$1;
.super Landroid/os/Handler;
.source "MarketshowActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/MarketshowActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/MarketshowActivity;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/MarketshowActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/MarketshowActivity$1;->this$0:Lcom/example/m6wmr/MarketshowActivity;

    .line 104
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 5
    .param p1, "msg"    # Landroid/os/Message;

    .prologue
    .line 106
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 107
    iget v2, p1, Landroid/os/Message;->arg1:I

    sparse-switch v2, :sswitch_data_0

    .line 174
    :goto_0
    :sswitch_0
    return-void

    .line 111
    :sswitch_1
    iget-object v2, p0, Lcom/example/m6wmr/MarketshowActivity$1;->this$0:Lcom/example/m6wmr/MarketshowActivity;

    # getter for: Lcom/example/m6wmr/MarketshowActivity;->mcontext:Landroid/content/Context;
    invoke-static {v2}, Lcom/example/m6wmr/MarketshowActivity;->access$1(Lcom/example/m6wmr/MarketshowActivity;)Landroid/content/Context;

    move-result-object v2

    const-string v3, "\u63d0\u793a\u4fe1\u606f"

    iget-object v4, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-static {v2, v3, v4}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 114
    :sswitch_2
    iget-object v2, p0, Lcom/example/m6wmr/MarketshowActivity$1;->this$0:Lcom/example/m6wmr/MarketshowActivity;

    # getter for: Lcom/example/m6wmr/MarketshowActivity;->mcontext:Landroid/content/Context;
    invoke-static {v2}, Lcom/example/m6wmr/MarketshowActivity;->access$1(Lcom/example/m6wmr/MarketshowActivity;)Landroid/content/Context;

    move-result-object v2

    const-string v3, "\u4fe1\u606f\u63d0\u793a"

    const-string v4, "\u6570\u636e\u683c\u5f0f\u9519\u8bef"

    invoke-static {v2, v3, v4}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 122
    :sswitch_3
    iget-object v2, p0, Lcom/example/m6wmr/MarketshowActivity$1;->this$0:Lcom/example/m6wmr/MarketshowActivity;

    # getter for: Lcom/example/m6wmr/MarketshowActivity;->goodsls:Ljava/util/List;
    invoke-static {v2}, Lcom/example/m6wmr/MarketshowActivity;->access$0(Lcom/example/m6wmr/MarketshowActivity;)Ljava/util/List;

    move-result-object v2

    invoke-interface {v2}, Ljava/util/List;->clear()V

    .line 123
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_1
    iget-object v2, p0, Lcom/example/m6wmr/MarketshowActivity$1;->this$0:Lcom/example/m6wmr/MarketshowActivity;

    # getter for: Lcom/example/m6wmr/MarketshowActivity;->tempgoodsls:Ljava/util/List;
    invoke-static {v2}, Lcom/example/m6wmr/MarketshowActivity;->access$8(Lcom/example/m6wmr/MarketshowActivity;)Ljava/util/List;

    move-result-object v2

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    if-lt v0, v2, :cond_0

    .line 126
    const-string v2, "MarketshowACtivity"

    const-string v3, "\u8c03\u7528js\u6570\u636e:goodsloadata"

    invoke-static {v2, v3}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 127
    iget-object v2, p0, Lcom/example/m6wmr/MarketshowActivity$1;->this$0:Lcom/example/m6wmr/MarketshowActivity;

    # getter for: Lcom/example/m6wmr/MarketshowActivity;->mWebView:Landroid/webkit/WebView;
    invoke-static {v2}, Lcom/example/m6wmr/MarketshowActivity;->access$9(Lcom/example/m6wmr/MarketshowActivity;)Landroid/webkit/WebView;

    move-result-object v2

    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "javascript:goodsloadata("

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v4, p0, Lcom/example/m6wmr/MarketshowActivity$1;->this$0:Lcom/example/m6wmr/MarketshowActivity;

    # getter for: Lcom/example/m6wmr/MarketshowActivity;->goodsstr:Ljava/lang/String;
    invoke-static {v4}, Lcom/example/m6wmr/MarketshowActivity;->access$10(Lcom/example/m6wmr/MarketshowActivity;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, ")"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    goto :goto_0

    .line 124
    :cond_0
    iget-object v2, p0, Lcom/example/m6wmr/MarketshowActivity$1;->this$0:Lcom/example/m6wmr/MarketshowActivity;

    # getter for: Lcom/example/m6wmr/MarketshowActivity;->goodsls:Ljava/util/List;
    invoke-static {v2}, Lcom/example/m6wmr/MarketshowActivity;->access$0(Lcom/example/m6wmr/MarketshowActivity;)Ljava/util/List;

    move-result-object v3

    iget-object v2, p0, Lcom/example/m6wmr/MarketshowActivity$1;->this$0:Lcom/example/m6wmr/MarketshowActivity;

    # getter for: Lcom/example/m6wmr/MarketshowActivity;->tempgoodsls:Ljava/util/List;
    invoke-static {v2}, Lcom/example/m6wmr/MarketshowActivity;->access$8(Lcom/example/m6wmr/MarketshowActivity;)Ljava/util/List;

    move-result-object v2

    invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lbean/GoodsBean;

    invoke-interface {v3, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 123
    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    .line 130
    .end local v0    # "i":I
    :sswitch_4
    iget-object v2, p0, Lcom/example/m6wmr/MarketshowActivity$1;->this$0:Lcom/example/m6wmr/MarketshowActivity;

    invoke-virtual {v2}, Lcom/example/m6wmr/MarketshowActivity;->loaddatatojs()Z

    goto :goto_0

    .line 133
    :sswitch_5
    const-string v2, "ShopshowACtivity"

    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "\u5237\u65b0\u8d2d\u7269\u8f66\u6570\u636e:"

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v4, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 134
    iget-object v2, p0, Lcom/example/m6wmr/MarketshowActivity$1;->this$0:Lcom/example/m6wmr/MarketshowActivity;

    # getter for: Lcom/example/m6wmr/MarketshowActivity;->mWebView:Landroid/webkit/WebView;
    invoke-static {v2}, Lcom/example/m6wmr/MarketshowActivity;->access$9(Lcom/example/m6wmr/MarketshowActivity;)Landroid/webkit/WebView;

    move-result-object v2

    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "javascript:freachcart("

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v4, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, ")"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    goto/16 :goto_0

    .line 137
    :sswitch_6
    const-string v2, "ShopshowACtivity"

    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "\u6dfb\u52a0\u8d2d\u7269\u8f66\u6570\u636e:"

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v4, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 138
    iget-object v2, p0, Lcom/example/m6wmr/MarketshowActivity$1;->this$0:Lcom/example/m6wmr/MarketshowActivity;

    # getter for: Lcom/example/m6wmr/MarketshowActivity;->mWebView:Landroid/webkit/WebView;
    invoke-static {v2}, Lcom/example/m6wmr/MarketshowActivity;->access$9(Lcom/example/m6wmr/MarketshowActivity;)Landroid/webkit/WebView;

    move-result-object v2

    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "javascript:addcart("

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v4, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, ")"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    goto/16 :goto_0

    .line 142
    :sswitch_7
    iget-object v2, p0, Lcom/example/m6wmr/MarketshowActivity$1;->this$0:Lcom/example/m6wmr/MarketshowActivity;

    # getter for: Lcom/example/m6wmr/MarketshowActivity;->mWebView:Landroid/webkit/WebView;
    invoke-static {v2}, Lcom/example/m6wmr/MarketshowActivity;->access$9(Lcom/example/m6wmr/MarketshowActivity;)Landroid/webkit/WebView;

    move-result-object v2

    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "javascript:downcart("

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v4, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, ")"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    goto/16 :goto_0

    .line 146
    :sswitch_8
    iget-object v2, p0, Lcom/example/m6wmr/MarketshowActivity$1;->this$0:Lcom/example/m6wmr/MarketshowActivity;

    # getter for: Lcom/example/m6wmr/MarketshowActivity;->mWebView:Landroid/webkit/WebView;
    invoke-static {v2}, Lcom/example/m6wmr/MarketshowActivity;->access$9(Lcom/example/m6wmr/MarketshowActivity;)Landroid/webkit/WebView;

    move-result-object v2

    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "javascript:clearonecart("

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v4, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, ")"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    goto/16 :goto_0

    .line 149
    :sswitch_9
    iget-object v2, p0, Lcom/example/m6wmr/MarketshowActivity$1;->this$0:Lcom/example/m6wmr/MarketshowActivity;

    # getter for: Lcom/example/m6wmr/MarketshowActivity;->mWebView:Landroid/webkit/WebView;
    invoke-static {v2}, Lcom/example/m6wmr/MarketshowActivity;->access$9(Lcom/example/m6wmr/MarketshowActivity;)Landroid/webkit/WebView;

    move-result-object v2

    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "javascript:downclscart("

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v4, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, ")"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    goto/16 :goto_0

    .line 159
    :sswitch_a
    new-instance v1, Landroid/content/Intent;

    invoke-direct {v1}, Landroid/content/Intent;-><init>()V

    .line 160
    .local v1, "intent":Landroid/content/Intent;
    const-string v2, "shopid"

    iget-object v3, p0, Lcom/example/m6wmr/MarketshowActivity$1;->this$0:Lcom/example/m6wmr/MarketshowActivity;

    # getter for: Lcom/example/m6wmr/MarketshowActivity;->shopid:Ljava/lang/String;
    invoke-static {v3}, Lcom/example/m6wmr/MarketshowActivity;->access$6(Lcom/example/m6wmr/MarketshowActivity;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 161
    const-string v2, "shopname"

    iget-object v3, p0, Lcom/example/m6wmr/MarketshowActivity$1;->this$0:Lcom/example/m6wmr/MarketshowActivity;

    # getter for: Lcom/example/m6wmr/MarketshowActivity;->shopname:Ljava/lang/String;
    invoke-static {v3}, Lcom/example/m6wmr/MarketshowActivity;->access$11(Lcom/example/m6wmr/MarketshowActivity;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 162
    iget-object v2, p0, Lcom/example/m6wmr/MarketshowActivity$1;->this$0:Lcom/example/m6wmr/MarketshowActivity;

    const-class v3, Lcom/example/m6wmr/ShopDishesActivity;

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 163
    iget-object v2, p0, Lcom/example/m6wmr/MarketshowActivity$1;->this$0:Lcom/example/m6wmr/MarketshowActivity;

    invoke-virtual {v2, v1}, Lcom/example/m6wmr/MarketshowActivity;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_0

    .line 166
    .end local v1    # "intent":Landroid/content/Intent;
    :sswitch_b
    iget-object v2, p0, Lcom/example/m6wmr/MarketshowActivity$1;->this$0:Lcom/example/m6wmr/MarketshowActivity;

    # getter for: Lcom/example/m6wmr/MarketshowActivity;->mcontext:Landroid/content/Context;
    invoke-static {v2}, Lcom/example/m6wmr/MarketshowActivity;->access$1(Lcom/example/m6wmr/MarketshowActivity;)Landroid/content/Context;

    move-result-object v2

    const-string v3, "\u5b9a\u4f4d\u4fe1\u606f"

    iget-object v4, p0, Lcom/example/m6wmr/MarketshowActivity$1;->this$0:Lcom/example/m6wmr/MarketshowActivity;

    iget-object v4, v4, Lcom/example/m6wmr/MarketshowActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v4}, Lmyapp/MyApp;->getMapname()Ljava/lang/String;

    move-result-object v4

    invoke-static {v2, v3, v4}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    .line 169
    :sswitch_c
    iget-object v2, p0, Lcom/example/m6wmr/MarketshowActivity$1;->this$0:Lcom/example/m6wmr/MarketshowActivity;

    # getter for: Lcom/example/m6wmr/MarketshowActivity;->mWebView:Landroid/webkit/WebView;
    invoke-static {v2}, Lcom/example/m6wmr/MarketshowActivity;->access$9(Lcom/example/m6wmr/MarketshowActivity;)Landroid/webkit/WebView;

    move-result-object v2

    const-string v3, "javascript:reloadcart();"

    invoke-virtual {v2, v3}, Landroid/webkit/WebView;->loadUrl(Ljava/lang/String;)V

    goto/16 :goto_0

    .line 107
    :sswitch_data_0
    .sparse-switch
        0x0 -> :sswitch_0
        0x1 -> :sswitch_1
        0x2 -> :sswitch_2
        0xe -> :sswitch_0
        0xf -> :sswitch_3
        0x10 -> :sswitch_4
        0x12 -> :sswitch_5
        0x13 -> :sswitch_6
        0x14 -> :sswitch_7
        0x15 -> :sswitch_8
        0x16 -> :sswitch_9
        0x19 -> :sswitch_a
        0x26 -> :sswitch_c
        0x6f -> :sswitch_b
    .end sparse-switch
.end method
